import type { IFormItem } from '@/components/NFormBuilder/types'
import { ScConstants } from '@/components/NFormBuilder/unit/ScConstants'

export const createFormItems = (): IFormItem[] => {
  const sc = new ScConstants(24)
  return [
    sc.input('岗位编码', 'postCode'),
    sc.input('岗位名称', 'postName'),
    sc.input('岗位描述', 'remark'),
    sc.number('岗位排序', 'postSort'),
  ]
}
